import request from "../utils/request";

const api = {
  getMenuList: "/menuListByPage",
  //   getMenuDetail: (id) => `/menuListByPage/${id}`,
};

export const getMenuList = (params = {}) => {
  return request({ url: api.getMenuList, method: "get", params });
};
